package com.yunsc.order.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @version: 1.0
 * @Author: adan
 * @description: 订单结算DTO
 * @date: 2024-05-12 14:07
 */
@ApiModel(value = "订单结算DTO")
@Data
public class CheckoutOrderDTO {
    @ApiModelProperty(value = "结算方式")
    private String mode;
    @ApiModelProperty(value = "配送方式")
    private String delivery;
    @ApiModelProperty(value = "支付方式")
    @JsonProperty("payType")
    private Integer payType;
    @ApiModelProperty(value = "优惠券ID")
    @JsonProperty("couponId")
    private Integer couponId;
    @ApiModelProperty(value = "是否使用积分")
    @JsonProperty("isUsePoints")
    private Integer isUsePoints;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "商品ID")
    @JsonProperty("goodsId")
    private String goodsId;
    @ApiModelProperty(value = "商品数量")
    @JsonProperty("goodsNum")
    private String goodsNum;
    @ApiModelProperty(value = "商品规格ID")
    @JsonProperty("goodsSkuId")
    private String goodsSkuId;
    @ApiModelProperty(value = "购物车ID集合")
    @JsonProperty("cartIds")
    private String cartIds;
}
